#
# 此是使用阿里的yum源进行安装
#

# 备份
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo_bak
yum -y install wget

# 切换 yum 基础源至阿里源
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

# 清空缓存
yum clean all

# 建立缓存
yum makecache

###### 正常进行安装 ######
cd ~
wget https://gitee.com/HuaweiCloudDeveloper/huaweicloud-solution-build-wangmarketcms/raw/master/shell/normal_install.sh -O install.sh
chmod -R 777 install.sh
source ./install.sh